const express = require('express')
const app = express()

const rootRouter = require('./router')
app.use('/api',rootRouter)

app.listen(3000,()=>{
    console.log('server is running at port 3000')
})